package com.zc.app.sys.dao.mapper;

import com.zc.app.sys.dao.peer.Menu;
import com.zc.app.sys.dao.peer.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper {

    public int createUser(User user);

    public User queryUserById(Integer accountId);

//    public int insertSelective(User record);
//
    public List<User> queryUser(User user,RowBounds rowBounds);
//
    public User findByUsername(@Param("loginName") String loginName);
//
//    public List<Menu> getAuthorizedMenusByUserId(String userId);
//
//    public User getUserById(String userId);

}